snapcast: define ALSA support explicitly
authorSzabolcs Hubai <[email protected]>
Sun, 7 Dec 2025 20:04:13 +0000 (21:04 +0100)
committerHannu Nyman <[email protected]>
Mon, 8 Dec 2025 17:41:56 +0000 (18:41 +0100)
commita77e5889bc43e4d6589a6f4784b2f9a4488a8839
tree6e99fd2caf16fda218c0f47465f9eab8a4fbb062
parentebf044619de7462da800d5b71e1b55794f65badb
snapcast: define ALSA support explicitly

As Hannu Nyman pointed out, in some cases the build of the package is
able to fail:

Package snapserver is missing dependencies for the following libraries:
libasound.so.2

He said: on some build runs, alsa is built (as required by other
packages), and if it is built before snapcast, it may be detected,
if the feature is not explicitly disabled in CMakeLists.txt.

Also: "I think that you could drop that AUDIO_SUPPORT conditional.
AUDIO_SUPPORT is selected e.g. if USB_SUPPORT is selected,
so it is not that big restriction."

Suggested-by: Hannu Nyman <[email protected]>
Signed-off-by: Szabolcs Hubai <[email protected]>
sound/snapcast/Makefile